﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ywxt
{
    /// <summary>
    /// 邮件的附件记录信息
    /// </summary>
    [Serializable]
    public class wf_maillist_send_atts
    {
        #region 数据表名称
        public static readonly string TableName = "wf_maillist_send_atts";
        #endregion

        #region 数据表字段结构
        public struct Columns
        {
            /// <summary>
            /// 记录id
            /// </summary>
            public static readonly string id = @"id";

            /// <summary>
            /// 附件名称
            /// </summary>
            public static readonly string file_name = @"file_name";

            /// <summary>
            /// 所属邮件ID
            /// </summary>
            public static readonly string mail_id = @"mail_id";

            /// <summary>
            /// 所属的附件记录ID
            /// </summary>
            public static readonly string attachment_id = @"attachment_id";

            /// <summary>
            /// 是否有效标志
            /// </summary>
            public static readonly string is_valid = @"is_valid";

            /// <summary>
            /// 创建时间
            /// </summary>
            public static readonly string create_date = @"create_date";
        }
        #endregion

        #region 字段
        /// <summary>
        /// 项目ID
        /// </summary>
        public virtual string id { get; set; }

        /// <summary>
        /// 附件名称
        /// </summary>
        public virtual string file_name { get; set; }

        /// <summary>
        /// 所属业务盖章流程
        /// </summary>
        public virtual wf_maillist_send this_mail { get; set; }

        /// <summary>
        /// 所属的附件记录
        /// </summary>
        public virtual t_attachment this_attachment { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public virtual int is_valid { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime create_date { get; set; }
        #endregion
    }
}
